package com.baizhi.wj.service;

import com.baizhi.wj.dto.VideoDTO;
import com.baizhi.wj.entity.Video;
import com.baizhi.wj.ov.VideoOV;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface VideoService {
    VideoOV queryAll(VideoDTO videoDTO);
    void insert(Video video);
    String   uploadHeadImg(MultipartFile videoFile,String oldImg) throws IOException;
    Video selectOne(int id);
    void update(Video video);
}
